home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Sample Code / AOCE Sample Code / PowerTalk Access Modules / Sample SMSAM / SampleSMSAM Source / CoreGateway / LetterLogWindow.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-28  |  1.4 KB  |  85 lines  |  [TEXT/R*ch]

  1. /*
  2.     File:        LetterLogWindow.h
  3.  
  4.     Copyright:    © 1991-1994 by Apple Computer, Inc.
  5.                 All rights reserved.
  6.  
  7.     Part of the AOCE Sample SMSAM Package.  Consult the license
  8.     which came with this software for your specific legal rights.
  9.  
  10. */
  11.  
  12.  
  13.  
  14. #ifndef __LETTERLOGWINDOW__
  15. #define __LETTERLOGWINDOW__ 1
  16.  
  17. #ifndef __TYPES__
  18. #include <Types.h>
  19. #endif
  20.  
  21. #ifndef __WINDOWS__
  22. #include <Windows.h>
  23. #endif
  24.  
  25. #ifndef __MEMORY__
  26. #include <Memory.h>
  27. #endif
  28.  
  29. #ifndef __LIMITS__
  30. #include <Limits.h>
  31. #endif
  32.  
  33. #ifndef __LETTERLOG__
  34. #include "LetterLog.h"
  35. #endif
  36.  
  37. #ifndef __LOGWINDOW__
  38. #include "LogWindow.h"
  39. #endif
  40.  
  41. #ifdef    __UNIVERSAL__
  42. #ifndef    __LOWMEM__
  43. #include <LowMem.h>
  44. #endif
  45. #else
  46. #ifndef    __SYSEQU__
  47. #include <SysEqu.h>
  48. #endif
  49. #endif
  50.  
  51. #ifndef __EVENTS__
  52. #include <Events.h>
  53. #endif
  54.  
  55. #ifndef __OSEVENTS__
  56. #include <OSEvents.h>
  57. #endif
  58.  
  59. #ifndef __STDIO__
  60. #include <stdio.h>
  61. #endif
  62.  
  63. /***********************************|****************************************/
  64.  
  65. class TLetterLogWindow : public TLogWindow
  66. {
  67. public:                                TLetterLogWindow ( TLetterLog* log, short windowID );
  68.         virtual                        ~TLetterLogWindow ( );
  69.                                     
  70.         virtual void                Draw (void) const;
  71.         virtual void                Draw ( const Rect& rectToRedraw ) const;
  72.         
  73.         virtual void                DrawRow ( unsigned long whichRow ) const;
  74.         
  75.         virtual unsigned long        GetRowCount () const;
  76.         virtual unsigned long        GetRowWidth ( ) const;
  77.  
  78. protected:
  79.         TLetterLog*                    fLog;
  80. };
  81.  
  82. /***********************************|****************************************/
  83.  
  84. #endif
  85.